package cn.tedu._05weibo.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Comment {
    @ApiModelProperty(value = "评论id", required = true)
    private Integer id;
    @ApiModelProperty(value = "评论内容", required = true)
    private String content;
    @ApiModelProperty(value = "评论时间", required = true)
    private Date created;
    @ApiModelProperty(value = "用户id", required = true)
    private Integer userId;
    @ApiModelProperty(value = "微博id", required = true)
    private Integer weiboId;
}
